﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Seemile.Model
{
    ////////////////////////////////////////////////////////////////
    /// File:        AdminInfo
    /// Author:      LonelyShadow
    /// Description: Admin实体类
    /// CreateDate:  2014/8/6
    ////////////////////////////////////////////////////////////////
    [Serializable]
    public class AdminInfo
    {
        #region // AdminInfo 的私有成员 [2014/8/6]
        private int _AdminId; 	 // 管理员编号
        private string _Username; 	 // 管理员姓名
        private string _Password; 	 // 管理员密码
        private string _Email; 	 // 邮箱
        private DateTime _LastLoginTime; 	 // 最后登录时间
        #endregion

        #region // AdminInfo 的封装属性 [2014/8/6]
        /// <summary> 
        /// 管理员编号
        /// </summary> 
        public int AdminId
        {
            get { return this._AdminId; }
            set { this._AdminId = value; }
        }
        /// <summary> 
        /// 管理员姓名
        /// </summary> 
        public string Username
        {
            get { return this._Username; }
            set { this._Username = value; }
        }
        /// <summary> 
        /// 管理员密码
        /// </summary> 
        public string Password
        {
            get { return this._Password; }
            set { this._Password = value; }
        }
        /// <summary> 
        /// 邮箱
        /// </summary> 
        public string Email
        {
            get { return this._Email; }
            set { this._Email = value; }
        }
        /// <summary> 
        /// 最后登录时间
        /// </summary> 
        public DateTime LastLoginTime
        {
            get { return this._LastLoginTime; }
            set { this._LastLoginTime = value; }
        }

        #endregion

        #region // AdminInfo 的构造函数 [2014/8/6]
        public AdminInfo() { }

        public AdminInfo(int _AdminId, string _Username, string _Password, string _Email, DateTime _LastLoginTime)
        {
            this._AdminId = _AdminId;
            this._Username = _Username;
            this._Password = _Password;
            this._Email = _Email;
            this._LastLoginTime = _LastLoginTime;
        }
        #endregion
    }
}
